package com.platform.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-15 08:03:41
 */
@Data
public class UserTransactionRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static final String TRANSACTION_TYPE_REBATES             =   "1";        //折扣返点
    public static final String TRANSACTION_TYPE_PAY_WX              =   "2";        //微信支付
    public static final String TRANSACTION_TYPE_PAY_ACCOUNT         =   "3";        //余额支付
    public static final String TRANSACTION_TYPE_WITHDRAW            =   "4";        //提现
    public static final String TRANSACTION_TYPE_ADD_COMMISSION      =   "5";        //后台增加佣金
    public static final String TRANSACTION_TYPE_CANCEL_REBATES      =   "6";        //撤销折扣返点
    public static final String TRANSACTION_TYPE_REFUND              =   "7";        //后台退款余额

    //主键
    private Long id;

    private Long userId;

    private Long transactionUserId;

    private String type;

    private BigDecimal money;

    private Date time;

    private String remark;

    private Long orderId;

    private Long orderGoodsId;

}
